const getter = {
	token: state => state.user.token,
	userInfo: state => state.user.userInfo,
	userId: state => state.user.userInfo?state.user.userInfo.id:undefined,
}
export default getter
